package com.nintendo.mapper;

import com.nintendo.dto.DocDTO;
import com.nintendo.entity.Doc;
import com.nintendo.vo.DocVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DocMapper {
    List<Doc> findAll();
    List<DocVo> findByNameAuthPage(DocDTO docDTO);
    void updateDocById(Doc doc);
    void deleteById(Long id);
    Doc findDocById(Long id);
    void saveDoc(Doc doc);
    List<Doc> findDocItemsById(Long ebookId);
    void deleteDocByIds(List<Long> ids);
}
